package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderDetail;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsOrderDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityGoodsOrderDetailMapper {
    long countByExample(EstateProjectActivityGoodsOrderDetailExample example);

    int deleteByExample(EstateProjectActivityGoodsOrderDetailExample example);

    int deleteByPrimaryKey(Integer detailId);

    int insert(EstateProjectActivityGoodsOrderDetail record);

    int insertSelective(@Param("record") EstateProjectActivityGoodsOrderDetail record, @Param("selective") EstateProjectActivityGoodsOrderDetail.Column ... selective);

    EstateProjectActivityGoodsOrderDetail selectOneByExample(EstateProjectActivityGoodsOrderDetailExample example);

    List<EstateProjectActivityGoodsOrderDetail> selectByExample(EstateProjectActivityGoodsOrderDetailExample example);

    EstateProjectActivityGoodsOrderDetail selectByPrimaryKey(Integer detailId);

    EstateProjectActivityGoodsOrderDetail selectByPrimaryKeyWithLogicalDelete(@Param("detailId") Integer detailId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityGoodsOrderDetail record, @Param("example") EstateProjectActivityGoodsOrderDetailExample example, @Param("selective") EstateProjectActivityGoodsOrderDetail.Column ... selective);

    int updateByExample(@Param("record") EstateProjectActivityGoodsOrderDetail record, @Param("example") EstateProjectActivityGoodsOrderDetailExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityGoodsOrderDetail record, @Param("selective") EstateProjectActivityGoodsOrderDetail.Column ... selective);

    int updateByPrimaryKey(EstateProjectActivityGoodsOrderDetail record);

    int batchInsert(@Param("list") List<EstateProjectActivityGoodsOrderDetail> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityGoodsOrderDetail> list, @Param("selective") EstateProjectActivityGoodsOrderDetail.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityGoodsOrderDetailExample example);

    int logicalDeleteByPrimaryKey(Integer detailId);
}